// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt
// Project developers.  See the top-level LICENSE file for dates and other
// details.  No copyright assignment is required to contribute to VisIt.

// ************************************************************************* //
//                             avtMFIXCDFOptions.C                              //
// ************************************************************************* //

#include <avtMFIXCDFOptions.h>

#include <DBOptionsAttributes.h>

#include <string>


// ****************************************************************************
//  Function: GetMFIXCDFReadOptions
//
//  Purpose:
//      Creates the options for MFIXCDF readers.
//
//  Important Note:
//      The code below sets up empty options.  If your format
//      does not require read options, no modifications are
//      necessary.
//
//  Programmer: welling -- generated by xml2avt
//  Creation:   Wed Aug 3 16:35:13 PST 2011
//
// ****************************************************************************

DBOptionsAttributes *
GetMFIXCDFReadOptions(void)
{
    DBOptionsAttributes *rv = new DBOptionsAttributes;
    rv->SetInt(N_X_DOMAINS, DEF_N_X_DOMAINS);
    rv->SetInt(N_Y_DOMAINS, DEF_N_Y_DOMAINS);
    rv->SetInt(N_Z_DOMAINS, DEF_N_Z_DOMAINS);
    return rv;
    /* EXAMPLE OF OPTIONS
        rv->SetBool("Binary format", true);
        rv->SetBool("Big Endian", false);
        rv->SetEnum("Dimension", 1);
        vector<string> dims;
        dims.push_back("0D");
        dims.push_back("1D");
        dims.push_back("2D");
        dims.push_back("3D");
        rv->SetEnumStrings("Dimension", dims);
        rv->SetInt("Number of variables", 5);
        rv->SetString("Name of auxiliary file", );
        rv->SetDouble("Displacement factor", 1.0);

        // When reading or writing the file, you can get the options out of this object like:
        rv->GetDouble("Displacement factor");
    */
}


// ****************************************************************************
//  Function: GetMFIXCDFWriteOptions
//
//  Purpose:
//      Creates the options for MFIXCDF writers.
//
//  Important Note:
//      The code below sets up empty options.  If your format
//      does not require write options, no modifications are
//      necessary.
//
//  Programmer: welling -- generated by xml2avt
//  Creation:   Wed Aug 3 16:35:13 PST 2011
//
// ****************************************************************************

DBOptionsAttributes *
GetMFIXCDFWriteOptions(void)
{
    DBOptionsAttributes *rv = new DBOptionsAttributes;
    return rv;
}
